package com.manage.appuser.service.impl;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.manage.appuser.dao.IAppUserDao;
import com.manage.appuser.model.AppUser;
import com.manage.appuser.service.IAppUserService;
import com.manage.base.service.impl.BaseServiceImpl;

@Service("appUserService")
public class AppUserServiceImpl
		extends BaseServiceImpl<AppUser>
		implements IAppUserService {

	static final Logger LOG = LoggerFactory.getLogger(AppUserServiceImpl.class);

	@Autowired
	private IAppUserDao appUserDao;

	@Override
	public List<AppUser> select(AppUser user) {
		return appUserDao.select(user);
	}

	@Override
	public AppUser detail(AppUser user) {
		return appUserDao.detail(user);
	}

	@Override
	public int selectTotalCount(AppUser param) {
		return appUserDao.selectTotalCount(param);
	}

	@Override
	public int updateAppuser(AppUser param) {
		return appUserDao.update(param);
	}
}
